package com.classDemo;
public class student {
    private String name;
    private  int age;
    private  String sex;
    private  String address;
    private String sid;
    public student() {
        this.sid = sid;
        this.name = name;
        this.age = age;
        this.sex = sex;
        this.address = address;
    }
    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public  String getStudent(){
        String s =this.getSid() + "\t\t\t" + this.getName() + "\t" + this.getAge() + "岁\t\t" + this.getSex()+this.getAddress();
        return s;
    }
}
